using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace Proyecto2Bases.Controllers
{
    public class HomeController : Controller
    {
        //
        // GET: /Home/

        public ActionResult Index()
        {
            if (Session["UserAccountInfo"] != null)
            {
                return RedirectToAction("Index", "EstadoCuenta");
            }
            else
            {
                return RedirectToAction("Index", "Login");
            }            
        }

    }
}
